package com.wang.music.service;

import com.wang.music.entity.Consumer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.music.vo.PageVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 * 前端用户表 服务类
 * </p>
 *
 * @author zifan
 * @since 2021-03-10
 */
public interface ConsumerService extends IService<Consumer> {

    Map<String, Object> uploadPic(MultipartFile pic);

    Map<String, Object> addConsumer(Consumer consumer);

    Map<String, Object> getConsumers(String key, PageVO pageVO);

    Map<String, Object> updateConsumer(Consumer consumer);

    Map<String, Object> delConsumer(Consumer consumer);
}
